package com.community.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.community.entity.Home;
import com.community.entity.Personnel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (Personnel)表数据库访问层
 *
 * @author makejava
 * @since 2021-10-28 10:17:31
 */
public interface PersonnelDao extends BaseMapper<Personnel> {
    Integer selectCount(@Param("region") String region);

    IPage<Home> selectAll(IPage<Personnel> page, @Param(Constants.WRAPPER) Wrapper<Personnel> queryWrapper);
}

